<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: XSegment3d</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../d7/dc2/struct_x_segment3d-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">XSegment3d</div></div>
</div><!--header-->
<div class="contents">

<p>三维线段类  
 <a href="../../dc/dfa/struct_x_segment3d.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d1/d8f/_x_segment3d_8h_source.html">XSegment3d.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aae05352019dc2cb54ee0a15ae19bb116"><td class="memItemLeft" align="right" valign="top"><a id="aae05352019dc2cb54ee0a15ae19bb116" name="aae05352019dc2cb54ee0a15ae19bb116"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>InitProduct</b> (TransformCR transform, XSegment3dCR other)</td></tr>
<tr class="separator:aae05352019dc2cb54ee0a15ae19bb116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cb67184eb21621ae8e04dff2fad01aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a5cb67184eb21621ae8e04dff2fad01aa">Init</a> (double x0, double y0, double z0, double x1, double y1, double z1)</td></tr>
<tr class="memdesc:a5cb67184eb21621ae8e04dff2fad01aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化数据  <a href="../../dc/dfa/struct_x_segment3d.html#a5cb67184eb21621ae8e04dff2fad01aa">更多...</a><br /></td></tr>
<tr class="separator:a5cb67184eb21621ae8e04dff2fad01aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583bfb0c1da9b78490070e4b5af8fb9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a583bfb0c1da9b78490070e4b5af8fb9f">Init</a> (XPoint3dCR pnt0, XPoint3dCR point1)</td></tr>
<tr class="memdesc:a583bfb0c1da9b78490070e4b5af8fb9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化数据  <a href="../../dc/dfa/struct_x_segment3d.html#a583bfb0c1da9b78490070e4b5af8fb9f">更多...</a><br /></td></tr>
<tr class="separator:a583bfb0c1da9b78490070e4b5af8fb9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae67ca6f5f9aa1a4a5aa24b69fe7868e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#ae67ca6f5f9aa1a4a5aa24b69fe7868e6">Init</a> (XPoint2dCR pnt0, XPoint2dCR point1)</td></tr>
<tr class="memdesc:ae67ca6f5f9aa1a4a5aa24b69fe7868e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化数据  <a href="../../dc/dfa/struct_x_segment3d.html#ae67ca6f5f9aa1a4a5aa24b69fe7868e6">更多...</a><br /></td></tr>
<tr class="separator:ae67ca6f5f9aa1a4a5aa24b69fe7868e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0704a2e4a4a2f8b44c1a6402dc028c87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a0704a2e4a4a2f8b44c1a6402dc028c87">InitFromOriginAndDirection</a> (XPoint3dCR pnt0, XPoint3dCR tangent)</td></tr>
<tr class="memdesc:a0704a2e4a4a2f8b44c1a6402dc028c87"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化数据  <a href="../../dc/dfa/struct_x_segment3d.html#a0704a2e4a4a2f8b44c1a6402dc028c87">更多...</a><br /></td></tr>
<tr class="separator:a0704a2e4a4a2f8b44c1a6402dc028c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b6f552bbe38514b529b62dbab06b761"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a0b6f552bbe38514b529b62dbab06b761">InitFrom</a> (XRay3dCR ray)</td></tr>
<tr class="memdesc:a0b6f552bbe38514b529b62dbab06b761"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化数据  <a href="../../dc/dfa/struct_x_segment3d.html#a0b6f552bbe38514b529b62dbab06b761">更多...</a><br /></td></tr>
<tr class="separator:a0b6f552bbe38514b529b62dbab06b761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0336b784bc1c5eb186887c89b56feeb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a0336b784bc1c5eb186887c89b56feeb2">GetEndPoints</a> (XPoint3dR pnt0, XPoint3dR point1) const</td></tr>
<tr class="memdesc:a0336b784bc1c5eb186887c89b56feeb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取端点  <a href="../../dc/dfa/struct_x_segment3d.html#a0336b784bc1c5eb186887c89b56feeb2">更多...</a><br /></td></tr>
<tr class="separator:a0336b784bc1c5eb186887c89b56feeb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab058ce299b83943b7c200f04a22adf07"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#ab058ce299b83943b7c200f04a22adf07">GetRange</a> (XRange3dR range) const</td></tr>
<tr class="memdesc:ab058ce299b83943b7c200f04a22adf07"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算范围  <a href="../../dc/dfa/struct_x_segment3d.html#ab058ce299b83943b7c200f04a22adf07">更多...</a><br /></td></tr>
<tr class="separator:ab058ce299b83943b7c200f04a22adf07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96c349a3e9086d88f74a1e4588a4f379"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a96c349a3e9086d88f74a1e4588a4f379">ProjectPoint</a> (XPoint3dR closestPoint, double &amp;closestParam, XPoint3dCR point) const</td></tr>
<tr class="memdesc:a96c349a3e9086d88f74a1e4588a4f379"><td class="mdescLeft">&#160;</td><td class="mdescRight">投影点  <a href="../../dc/dfa/struct_x_segment3d.html#a96c349a3e9086d88f74a1e4588a4f379">更多...</a><br /></td></tr>
<tr class="separator:a96c349a3e9086d88f74a1e4588a4f379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a0ba332460bc54d1a0de5d0a7c29167"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a8a0ba332460bc54d1a0de5d0a7c29167">ProjectPointXY</a> (XPoint3dR closestPoint, double &amp;closestParam, XPoint3dCR point) const</td></tr>
<tr class="memdesc:a8a0ba332460bc54d1a0de5d0a7c29167"><td class="mdescLeft">&#160;</td><td class="mdescRight">投影点  <a href="../../dc/dfa/struct_x_segment3d.html#a8a0ba332460bc54d1a0de5d0a7c29167">更多...</a><br /></td></tr>
<tr class="separator:a8a0ba332460bc54d1a0de5d0a7c29167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0214e55f21a9b26340e7aa9d326af7f7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a0214e55f21a9b26340e7aa9d326af7f7">Intersect</a> (XPoint3dR intPoint, double &amp;intParam, XPlane3dCR plane) const</td></tr>
<tr class="memdesc:a0214e55f21a9b26340e7aa9d326af7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算交点  <a href="../../dc/dfa/struct_x_segment3d.html#a0214e55f21a9b26340e7aa9d326af7f7">更多...</a><br /></td></tr>
<tr class="separator:a0214e55f21a9b26340e7aa9d326af7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a092e3e1f6e0afce8f87311c6f515491b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a092e3e1f6e0afce8f87311c6f515491b">GetStartPoint</a> (XPoint3dR pt) const</td></tr>
<tr class="memdesc:a092e3e1f6e0afce8f87311c6f515491b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取起点  <a href="../../dc/dfa/struct_x_segment3d.html#a092e3e1f6e0afce8f87311c6f515491b">更多...</a><br /></td></tr>
<tr class="separator:a092e3e1f6e0afce8f87311c6f515491b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba1efa080492a585ffe57d970165e06b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#aba1efa080492a585ffe57d970165e06b">GetEndPoint</a> (XPoint3dR pt) const</td></tr>
<tr class="memdesc:aba1efa080492a585ffe57d970165e06b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取终点  <a href="../../dc/dfa/struct_x_segment3d.html#aba1efa080492a585ffe57d970165e06b">更多...</a><br /></td></tr>
<tr class="separator:aba1efa080492a585ffe57d970165e06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16cd7b42d9259885c8d89fc3e64e096f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a16cd7b42d9259885c8d89fc3e64e096f">SetStartPoint</a> (XPoint3dCR point)</td></tr>
<tr class="memdesc:a16cd7b42d9259885c8d89fc3e64e096f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置起点  <a href="../../dc/dfa/struct_x_segment3d.html#a16cd7b42d9259885c8d89fc3e64e096f">更多...</a><br /></td></tr>
<tr class="separator:a16cd7b42d9259885c8d89fc3e64e096f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29b9a208206f6347f6966c0ad752df72"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a29b9a208206f6347f6966c0ad752df72">SetEndPoint</a> (XPoint3dCR point)</td></tr>
<tr class="memdesc:a29b9a208206f6347f6966c0ad752df72"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置终点  <a href="../../dc/dfa/struct_x_segment3d.html#a29b9a208206f6347f6966c0ad752df72">更多...</a><br /></td></tr>
<tr class="separator:a29b9a208206f6347f6966c0ad752df72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bc348097a6e197bdc2fed431f189800"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a6bc348097a6e197bdc2fed431f189800">FractionToPoint</a> (double fraction) const</td></tr>
<tr class="memdesc:a6bc348097a6e197bdc2fed431f189800"><td class="mdescLeft">&#160;</td><td class="mdescRight">比例到点  <a href="../../dc/dfa/struct_x_segment3d.html#a6bc348097a6e197bdc2fed431f189800">更多...</a><br /></td></tr>
<tr class="separator:a6bc348097a6e197bdc2fed431f189800"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af39dd63c7f943a017f11ee7b8cf5d8eb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#af39dd63c7f943a017f11ee7b8cf5d8eb">PointToFractionParameter</a> (double &amp;param, XPoint3dCR point) const</td></tr>
<tr class="memdesc:af39dd63c7f943a017f11ee7b8cf5d8eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">点到比例  <a href="../../dc/dfa/struct_x_segment3d.html#af39dd63c7f943a017f11ee7b8cf5d8eb">更多...</a><br /></td></tr>
<tr class="separator:af39dd63c7f943a017f11ee7b8cf5d8eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada3ff69cf417b8ad451fc96b6b3d8d47"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#ada3ff69cf417b8ad451fc96b6b3d8d47">FractionParameterToTangent</a> (XPoint3dR point, XVec3dR tangent, double param) const</td></tr>
<tr class="memdesc:ada3ff69cf417b8ad451fc96b6b3d8d47"><td class="mdescLeft">&#160;</td><td class="mdescRight">比例到切线  <a href="../../dc/dfa/struct_x_segment3d.html#ada3ff69cf417b8ad451fc96b6b3d8d47">更多...</a><br /></td></tr>
<tr class="separator:ada3ff69cf417b8ad451fc96b6b3d8d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b915ad581dde2135db888cda90c6708"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a7b915ad581dde2135db888cda90c6708">Length</a> () const</td></tr>
<tr class="memdesc:a7b915ad581dde2135db888cda90c6708"><td class="mdescLeft">&#160;</td><td class="mdescRight">长度  <a href="../../dc/dfa/struct_x_segment3d.html#a7b915ad581dde2135db888cda90c6708">更多...</a><br /></td></tr>
<tr class="separator:a7b915ad581dde2135db888cda90c6708"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a17eb06292464a7e4bd270f0a66261a86"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a17eb06292464a7e4bd270f0a66261a86">FromOriginAndDirection</a> (XPoint3dCR pnt0, XPoint3dCR tangent)</td></tr>
<tr class="memdesc:a17eb06292464a7e4bd270f0a66261a86"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#a17eb06292464a7e4bd270f0a66261a86">更多...</a><br /></td></tr>
<tr class="separator:a17eb06292464a7e4bd270f0a66261a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82197236bebccb2fa41d1fe69d026feb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a82197236bebccb2fa41d1fe69d026feb">FromZero</a> ()</td></tr>
<tr class="memdesc:a82197236bebccb2fa41d1fe69d026feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#a82197236bebccb2fa41d1fe69d026feb">更多...</a><br /></td></tr>
<tr class="separator:a82197236bebccb2fa41d1fe69d026feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf68a478942fe964ab17f8ee680e31aa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#adf68a478942fe964ab17f8ee680e31aa">From</a> (XRay3dCR ray)</td></tr>
<tr class="memdesc:adf68a478942fe964ab17f8ee680e31aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#adf68a478942fe964ab17f8ee680e31aa">更多...</a><br /></td></tr>
<tr class="separator:adf68a478942fe964ab17f8ee680e31aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae926ffc3541a7a13f3dcdab2d17f3b95"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#ae926ffc3541a7a13f3dcdab2d17f3b95">From</a> (double x0, double y0, double z0, double x1, double y1, double z1)</td></tr>
<tr class="memdesc:ae926ffc3541a7a13f3dcdab2d17f3b95"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#ae926ffc3541a7a13f3dcdab2d17f3b95">更多...</a><br /></td></tr>
<tr class="separator:ae926ffc3541a7a13f3dcdab2d17f3b95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f9b87d547b9e309e611c0761f4aa26f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a0f9b87d547b9e309e611c0761f4aa26f">From</a> (XPoint3dCR pnt0, XPoint3dCR point1)</td></tr>
<tr class="memdesc:a0f9b87d547b9e309e611c0761f4aa26f"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#a0f9b87d547b9e309e611c0761f4aa26f">更多...</a><br /></td></tr>
<tr class="separator:a0f9b87d547b9e309e611c0761f4aa26f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e613f9ccc9dc8473f7687edbb351ce5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a6e613f9ccc9dc8473f7687edbb351ce5">From</a> (XPoint2dCR pnt0, XPoint2dCR point1)</td></tr>
<tr class="memdesc:a6e613f9ccc9dc8473f7687edbb351ce5"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建函数  <a href="../../dc/dfa/struct_x_segment3d.html#a6e613f9ccc9dc8473f7687edbb351ce5">更多...</a><br /></td></tr>
<tr class="separator:a6e613f9ccc9dc8473f7687edbb351ce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a943ae0113f607bdbbb25c2515db483dd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a943ae0113f607bdbbb25c2515db483dd">ClosestApproachBounded</a> (double &amp;fraction0, double &amp;fraction1, XPoint3dR pnt0, XPoint3dR point1, XSegment3dCR seg0, XSegment3dCR seg1)</td></tr>
<tr class="memdesc:a943ae0113f607bdbbb25c2515db483dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">两条有界线段最近的点  <a href="../../dc/dfa/struct_x_segment3d.html#a943ae0113f607bdbbb25c2515db483dd">更多...</a><br /></td></tr>
<tr class="separator:a943ae0113f607bdbbb25c2515db483dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911cbae6465ac42bf498acf37baa7eac"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#a911cbae6465ac42bf498acf37baa7eac">ClosestApproachUnbounded</a> (double &amp;fraction0, double &amp;fraction1, XPoint3dR pnt0, XPoint3dR point1, XSegment3dCR seg0, XSegment3dCR seg1)</td></tr>
<tr class="memdesc:a911cbae6465ac42bf498acf37baa7eac"><td class="mdescLeft">&#160;</td><td class="mdescRight">两条线段（视为无界）最近的点  <a href="../../dc/dfa/struct_x_segment3d.html#a911cbae6465ac42bf498acf37baa7eac">更多...</a><br /></td></tr>
<tr class="separator:a911cbae6465ac42bf498acf37baa7eac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af76ba47126d3255b1fd563096aea16b0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#af76ba47126d3255b1fd563096aea16b0">ClosestApproachBoundedXY</a> (double &amp;fraction0, double &amp;fraction1, XPoint3dR pnt0, XPoint3dR point1, XSegment3dCR seg0, XSegment3dCR seg1)</td></tr>
<tr class="memdesc:af76ba47126d3255b1fd563096aea16b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">XY方向上两条有界线段最近的点  <a href="../../dc/dfa/struct_x_segment3d.html#af76ba47126d3255b1fd563096aea16b0">更多...</a><br /></td></tr>
<tr class="separator:af76ba47126d3255b1fd563096aea16b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7f02d606ddd76daa971834a52c0729"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/struct_x_segment3d.html#abc7f02d606ddd76daa971834a52c0729">IntersectXY</a> (double &amp;fractionA, double &amp;fractionB, XPoint3dR pntA, XPoint3dR pntB, XSegment3dCR segA, XSegment3dCR segB)</td></tr>
<tr class="memdesc:abc7f02d606ddd76daa971834a52c0729"><td class="mdescLeft">&#160;</td><td class="mdescRight">XY相交  <a href="../../dc/dfa/struct_x_segment3d.html#abc7f02d606ddd76daa971834a52c0729">更多...</a><br /></td></tr>
<tr class="separator:abc7f02d606ddd76daa971834a52c0729"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a217b72b252e6b88696e042b143181ce8"><td class="memItemLeft" align="right" valign="top"><a id="a217b72b252e6b88696e042b143181ce8" name="a217b72b252e6b88696e042b143181ce8"></a>
<a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a>&#160;</td><td class="memItemRight" valign="bottom"><b>point</b> [2]</td></tr>
<tr class="separator:a217b72b252e6b88696e042b143181ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >三维线段类 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a943ae0113f607bdbbb25c2515db483dd" name="a943ae0113f607bdbbb25c2515db483dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a943ae0113f607bdbbb25c2515db483dd">&#9670;&nbsp;</a></span>ClosestApproachBounded()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XSegment3d::ClosestApproachBounded </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>point1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>两条有界线段最近的点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>&amp; fraction0 </td></tr>
    <tr><td class="paramname">double</td><td>&amp; fraction1 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point1 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment0 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/27 </dd></dl>

</div>
</div>
<a id="af76ba47126d3255b1fd563096aea16b0" name="af76ba47126d3255b1fd563096aea16b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af76ba47126d3255b1fd563096aea16b0">&#9670;&nbsp;</a></span>ClosestApproachBoundedXY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void XSegment3d::ClosestApproachBoundedXY </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>point1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>XY方向上两条有界线段最近的点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>&amp; fraction0 </td></tr>
    <tr><td class="paramname">double</td><td>&amp; fraction1 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point1 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment0 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/27 </dd></dl>

</div>
</div>
<a id="a911cbae6465ac42bf498acf37baa7eac" name="a911cbae6465ac42bf498acf37baa7eac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a911cbae6465ac42bf498acf37baa7eac">&#9670;&nbsp;</a></span>ClosestApproachUnbounded()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XSegment3d::ClosestApproachUnbounded </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fraction1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>point1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>seg1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>两条线段（视为无界）最近的点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>&amp; fraction0 </td></tr>
    <tr><td class="paramname">double</td><td>&amp; fraction1 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point1 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment0 </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segment1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ada3ff69cf417b8ad451fc96b6b3d8d47" name="ada3ff69cf417b8ad451fc96b6b3d8d47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada3ff69cf417b8ad451fc96b6b3d8d47">&#9670;&nbsp;</a></span>FractionParameterToTangent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::FractionParameterToTangent </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVec3dR&#160;</td>
          <td class="paramname"><em>tangent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>param</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>比例到切线 </p>
<p >返回线段上给定比例参数对应点的切向量</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>point </td></tr>
    <tr><td class="paramname">XVec3dR</td><td>tangent </td></tr>
    <tr><td class="paramname">double</td><td>param </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a6bc348097a6e197bdc2fed431f189800" name="a6bc348097a6e197bdc2fed431f189800"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bc348097a6e197bdc2fed431f189800">&#9670;&nbsp;</a></span>FractionToPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> XSegment3d::FractionToPoint </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>fraction</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>比例到点 </p>
<p >根据比例参数返回线段上的点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>fraction </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../d5/d5b/struct_x_point3d.html" title="3D空间点类">XPoint3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ae926ffc3541a7a13f3dcdab2d17f3b95" name="ae926ffc3541a7a13f3dcdab2d17f3b95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae926ffc3541a7a13f3dcdab2d17f3b95">&#9670;&nbsp;</a></span>From() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::From </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >由起止点坐标创建线段</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>x0 </td></tr>
    <tr><td class="paramname">double</td><td>y0 </td></tr>
    <tr><td class="paramname">double</td><td>z0 </td></tr>
    <tr><td class="paramname">double</td><td>x1 </td></tr>
    <tr><td class="paramname">double</td><td>y1 </td></tr>
    <tr><td class="paramname">double</td><td>z1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a6e613f9ccc9dc8473f7687edbb351ce5" name="a6e613f9ccc9dc8473f7687edbb351ce5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e613f9ccc9dc8473f7687edbb351ce5">&#9670;&nbsp;</a></span>From() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::From </td>
          <td>(</td>
          <td class="paramtype">XPoint2dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint2dCR&#160;</td>
          <td class="paramname"><em>point1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >由2D起止点创建线段</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint2dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint2dCR</td><td>point1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0f9b87d547b9e309e611c0761f4aa26f" name="a0f9b87d547b9e309e611c0761f4aa26f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f9b87d547b9e309e611c0761f4aa26f">&#9670;&nbsp;</a></span>From() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::From </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >由起止点创建线段</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>point1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="adf68a478942fe964ab17f8ee680e31aa" name="adf68a478942fe964ab17f8ee680e31aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf68a478942fe964ab17f8ee680e31aa">&#9670;&nbsp;</a></span>From() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::From </td>
          <td>(</td>
          <td class="paramtype">XRay3dCR&#160;</td>
          <td class="paramname"><em>ray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >由射线创建线段</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XRay3dCR</td><td>ray </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a17eb06292464a7e4bd270f0a66261a86" name="a17eb06292464a7e4bd270f0a66261a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17eb06292464a7e4bd270f0a66261a86">&#9670;&nbsp;</a></span>FromOriginAndDirection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::FromOriginAndDirection </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>tangent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >根据起点和延伸向量创建线段</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>tangent </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a82197236bebccb2fa41d1fe69d026feb" name="a82197236bebccb2fa41d1fe69d026feb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82197236bebccb2fa41d1fe69d026feb">&#9670;&nbsp;</a></span>FromZero()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/dfa/struct_x_segment3d.html">XSegment3d</a> XSegment3d::FromZero </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建函数 </p>
<p >创建一个所有坐标都为零的线段</p>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="../../dc/dfa/struct_x_segment3d.html" title="三维线段类">XSegment3d</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="aba1efa080492a585ffe57d970165e06b" name="aba1efa080492a585ffe57d970165e06b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba1efa080492a585ffe57d970165e06b">&#9670;&nbsp;</a></span>GetEndPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::GetEndPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取终点 </p>
<p >返回线段的终点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>pt </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0336b784bc1c5eb186887c89b56feeb2" name="a0336b784bc1c5eb186887c89b56feeb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0336b784bc1c5eb186887c89b56feeb2">&#9670;&nbsp;</a></span>GetEndPoints()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::GetEndPoints </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>point1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取端点 </p>
<p >返回线段的两个端点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>point1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ab058ce299b83943b7c200f04a22adf07" name="ab058ce299b83943b7c200f04a22adf07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab058ce299b83943b7c200f04a22adf07">&#9670;&nbsp;</a></span>GetRange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::GetRange </td>
          <td>(</td>
          <td class="paramtype">XRange3dR&#160;</td>
          <td class="paramname"><em>range</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算范围 </p>
<p >计算线段的范围盒，总是返回true</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XRange3dR</td><td>range </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a092e3e1f6e0afce8f87311c6f515491b" name="a092e3e1f6e0afce8f87311c6f515491b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a092e3e1f6e0afce8f87311c6f515491b">&#9670;&nbsp;</a></span>GetStartPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::GetStartPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取起点 </p>
<p >返回线段的起点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>pt </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a5cb67184eb21621ae8e04dff2fad01aa" name="a5cb67184eb21621ae8e04dff2fad01aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cb67184eb21621ae8e04dff2fad01aa">&#9670;&nbsp;</a></span>Init() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::Init </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化数据 </p>
<p >由起止点坐标创建初始化数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>x0 </td></tr>
    <tr><td class="paramname">double</td><td>y0 </td></tr>
    <tr><td class="paramname">double</td><td>z0 </td></tr>
    <tr><td class="paramname">double</td><td>x1 </td></tr>
    <tr><td class="paramname">double</td><td>y1 </td></tr>
    <tr><td class="paramname">double</td><td>z1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ae67ca6f5f9aa1a4a5aa24b69fe7868e6" name="ae67ca6f5f9aa1a4a5aa24b69fe7868e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae67ca6f5f9aa1a4a5aa24b69fe7868e6">&#9670;&nbsp;</a></span>Init() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::Init </td>
          <td>(</td>
          <td class="paramtype">XPoint2dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint2dCR&#160;</td>
          <td class="paramname"><em>point1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化数据 </p>
<p >由2D起止点坐标初始化数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint2dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint2dCR</td><td>point1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a583bfb0c1da9b78490070e4b5af8fb9f" name="a583bfb0c1da9b78490070e4b5af8fb9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a583bfb0c1da9b78490070e4b5af8fb9f">&#9670;&nbsp;</a></span>Init() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::Init </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化数据 </p>
<p >由起止点初始化数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>point1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0b6f552bbe38514b529b62dbab06b761" name="a0b6f552bbe38514b529b62dbab06b761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b6f552bbe38514b529b62dbab06b761">&#9670;&nbsp;</a></span>InitFrom()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::InitFrom </td>
          <td>(</td>
          <td class="paramtype">XRay3dCR&#160;</td>
          <td class="paramname"><em>ray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化数据 </p>
<p >由给定射线初始化数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XRay3dCR</td><td>ray </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0704a2e4a4a2f8b44c1a6402dc028c87" name="a0704a2e4a4a2f8b44c1a6402dc028c87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0704a2e4a4a2f8b44c1a6402dc028c87">&#9670;&nbsp;</a></span>InitFromOriginAndDirection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::InitFromOriginAndDirection </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>pnt0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>tangent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化数据 </p>
<p >由起始点和延伸向量初始化数据</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point0 </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>tangent </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0214e55f21a9b26340e7aa9d326af7f7" name="a0214e55f21a9b26340e7aa9d326af7f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0214e55f21a9b26340e7aa9d326af7f7">&#9670;&nbsp;</a></span>Intersect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::Intersect </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>intPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>intParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPlane3dCR&#160;</td>
          <td class="paramname"><em>plane</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算交点 </p>
<p >计算（无界）线段与平面的交点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>intPoint </td></tr>
    <tr><td class="paramname">double</td><td>&amp; intParam </td></tr>
    <tr><td class="paramname">XPlane3dCR</td><td>plane </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="abc7f02d606ddd76daa971834a52c0729" name="abc7f02d606ddd76daa971834a52c0729"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc7f02d606ddd76daa971834a52c0729">&#9670;&nbsp;</a></span>IntersectXY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool XSegment3d::IntersectXY </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fractionA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>fractionB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pntA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>pntB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>segA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XSegment3dCR&#160;</td>
          <td class="paramname"><em>segB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>XY相交 </p>
<p >计算两条（视为无界）线段仅在XY方向上的交点，当线段平行时返回false</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>&amp; fractionA </td></tr>
    <tr><td class="paramname">double</td><td>&amp; fractionB </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>pointA </td></tr>
    <tr><td class="paramname">XPoint3dR</td><td>pointB </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segmentA </td></tr>
    <tr><td class="paramname">XSegment3dCR</td><td>segmentB </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a7b915ad581dde2135db888cda90c6708" name="a7b915ad581dde2135db888cda90c6708"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b915ad581dde2135db888cda90c6708">&#9670;&nbsp;</a></span>Length()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double XSegment3d::Length </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>长度 </p>
<p >计算线段的长度</p>
<dl class="section return"><dt>返回</dt><dd>double</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="af39dd63c7f943a017f11ee7b8cf5d8eb" name="af39dd63c7f943a017f11ee7b8cf5d8eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af39dd63c7f943a017f11ee7b8cf5d8eb">&#9670;&nbsp;</a></span>PointToFractionParameter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::PointToFractionParameter </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>param</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>点到比例 </p>
<p >返回空间点对应的比例参数，小于0或大于1意味着在线段外</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">double</td><td>&amp; param </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a96c349a3e9086d88f74a1e4588a4f379" name="a96c349a3e9086d88f74a1e4588a4f379"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96c349a3e9086d88f74a1e4588a4f379">&#9670;&nbsp;</a></span>ProjectPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::ProjectPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>closestPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>closestParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>投影点 </p>
<p >将给定点投影到延伸后的线段上</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>closestPoint </td></tr>
    <tr><td class="paramname">double</td><td>&amp; closestParam </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a8a0ba332460bc54d1a0de5d0a7c29167" name="a8a0ba332460bc54d1a0de5d0a7c29167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a0ba332460bc54d1a0de5d0a7c29167">&#9670;&nbsp;</a></span>ProjectPointXY()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XSegment3d::ProjectPointXY </td>
          <td>(</td>
          <td class="paramtype">XPoint3dR&#160;</td>
          <td class="paramname"><em>closestPoint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>closestParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>投影点 </p>
<p >仅在XY方向上将给定点投影到延伸后的线段上</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dR</td><td>closestPoint </td></tr>
    <tr><td class="paramname">double</td><td>&amp; closestParam </td></tr>
    <tr><td class="paramname">XPoint3dCR</td><td>point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a29b9a208206f6347f6966c0ad752df72" name="a29b9a208206f6347f6966c0ad752df72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29b9a208206f6347f6966c0ad752df72">&#9670;&nbsp;</a></span>SetEndPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::SetEndPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置终点 </p>
<p >设置线段的终点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a16cd7b42d9259885c8d89fc3e64e096f" name="a16cd7b42d9259885c8d89fc3e64e096f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16cd7b42d9259885c8d89fc3e64e096f">&#9670;&nbsp;</a></span>SetStartPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSegment3d::SetStartPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCR&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置起点 </p>
<p >设置线段的起点</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dCR</td><td>point </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATGeometrySet/<a class="el" href="../../d1/d8f/_x_segment3d_8h_source.html">XSegment3d.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
